VT-d: bind IRQs to CPUs local to the node the IOMMU is on
authorJan Beulich <jbeulich@suse.com>
Tue, 13 Dec 2011 10:38:57 +0000 (11:38 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 13 Dec 2011 10:38:57 +0000 (11:38 +0100)
commit3c419d3521b66c78e22da14fcf287b586e5df4b7
tree2a367d69aad197034ed1b999c8de62d19d50fb81
parentdd02b58523c43bf517bb6e9d69b4983068e6b89c
VT-d: bind IRQs to CPUs local to the node the IOMMU is on

This extends create_irq() to take a node parameter, allowing the
resulting IRQ to have its destination set to a CPU on that node right
away, which is more natural than having to post-adjust this (and
get e.g. a new IRQ vector assigned despite a fresh one was just
obtained).

All other callers of create_irq() pass NUMA_NO_NODE for the time being.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hpet.c
xen/arch/x86/io_apic.c
xen/arch/x86/irq.c
xen/arch/x86/physdev.c
xen/drivers/passthrough/amd/iommu_init.c
xen/drivers/passthrough/vtd/iommu.c
xen/include/asm-x86/io_apic.h
xen/include/asm-x86/irq.h